package com.dormitory_springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author admin
 * @since 2022-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String number;
    private String name;
    private String gender;

    private Integer dormitoryId;
    private String state = "入住";
    private String createDate;
    private String username;
    private String password;

    private String college;
    private String major;
    private String classname;
    private String contact;

    private String exerciseHabit;
    private String boardingExperience;
    private String hygieneHabit;
    private String personalityTraits;
}
